﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsFormsApplication2
{
    public class Measurement
    {
        private float m_MinRange;

        public float MinRange
        {
            get { return m_MinRange; }
            set { m_MinRange = value; }
        }
        private float m_MaxRange;

        public float MaxRange
        {
            get { return m_MaxRange; }
            set { m_MaxRange = value; }
        }
        private string m_Name;

        public string Name
        {
            get { return m_Name; }
            set { m_Name = value; }
        }

        public Measurement(string name, float minRange, float maxRange, float @value)
        {
            m_Name = name;
            m_MinRange = minRange;
            m_MaxRange = maxRange;
            m_Value = @value;
        }

        private float m_Value;

        public float Value
        {
            get { return m_Value; }
            set
            {
                m_Value = value;
                //this.m_ParentSet.Normalize();
            }
        }

        //private Measurements m_ParentSet;
        private float m_NormalizedValue;

        public float NormalizedValue
        {
            get { return m_NormalizedValue; }
            set { m_NormalizedValue = value; }
        }
    }
}
